package com.wuhuahe.learning.lagou.service.user.pojo;

import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;

/**
 * DROP TABLE public."user";
 *
 * CREATE TABLE public."user" (
 * 	id                    serial,
 * 	email varchar(300) NOT NULL,
 * 	password varchar(400) NOT NULL,
 * 	created_date timestamp NULL DEFAULT now(),
 * 	updated_date timestamp NULL DEFAULT now(),
 * 	CONSTRAINT user_pkey PRIMARY KEY (id)
 * );
 */
@Data
public class User {

    private Long id;
    private String email;
    private String password;
    private Timestamp created_date;
    private Timestamp updated_date;

}
